//
//  FallenMenuView.h
//  FallenMenuView
//
//  Created by LuckyStrike on 2017/12/24.
//  Copyright © 2017年 LuckyStrike. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

typedef void(^SelectedBlock)(NSIndexPath *indexPath);

@interface FallenMenuView : UIView
/**   */
@property (nonatomic,copy) NSArray<NSArray*> *itemTitles;
/**   */
@property (nonatomic,copy) NSArray *sectionTitles;
/**   */
@property (nonatomic,assign) CGFloat maskAlpha;

+ (FallenMenuView*)viewWithSectionTitles:(NSArray*)sectionTitles itemTitles:(NSArray<NSArray*> *)itemTitles selectedBlock:(SelectedBlock)selectedBlock;

- (void)showMenu;
- (void)hideMenu;


@end
